package com.cskaoyan.bean.admin.system;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class ModifyAdminsBo {

    /**
     * id : 17
     * username : qw123q
     * avatar : http://182.92.235.201:8083/wx/storage/fetch/mbht7x7soojoo36w20kc.jpg
     * roleIds : [3,2]
     * password : aaa111
     */

    private Integer id;
    @Length(min = 4,max = 16,message = "管理员名称需要在4-16位之间")
    private String username;
    private String avatar;
    //@Length(min = 6,max = 16,message = "管理员密码需要在6-16位之间")
    private String password;
    private Integer[] roleIds;

}
